/**
 * 所有职称申报模块相关请求
 */
// 引入工具函数
import req from '@/utils/request'

// 申报公告
// 获取公告管理列表
export const getAnnouncementManagementList = (params) => {
  return req.get('/zcsb/gongGaoGuanLi/depList', params)
}
// 删除公告
export const deleteAnnouncement = (params) => {
  return req.get('/zcsb/gongGaoGuanLi/delete', params)
}
// 添加公告
export const addAnnouncement = (params) => {
  return req.post('/zcsb/gongGaoGuanLi/save', params)
}
// 公告详情
export const viewDetails = (params) => {
  return req.get('/zcsb/gongGaoGuanLi/details', params)
}

// 系统管理
// 组织机构管理
// 获取机构管理列表
export const getOrganizationManagementList = (params) => {
  return req.get('/zcsb/xiTongGuanLi/depList', params)
}
// 添加修改机构
export const addEditOrganizationManagement = (params) => {
  return req.get('/zcsb/xiTongGuanLi/save', params)
}
// 删除机构
export const delOrganizationManagement = (params) => {
  return req.get('/zcsb/xiTongGuanLi/del', params)
}
// 申报人管理
// 获取系统管理申报人管理列表
export const GetClaimantManagementList = (params) => {
  return req.get('/zcsb/shenBaoRenYuanGuanLi/find', params)
}
// 查询工作单位最父级列表
export const getsearchFormList = (params) => {
  return req.get('/zcsb/shenBaoRenYuanGuanLi/list', params)
}
// 切换成禁用
export const changeDisable = (params) => {
  return req.get('/zcsb/shenBaoRenYuanGuanLi/disable', params)
}
// 切换成启用
export const changeUnDisable = (params) => {
  return req.get('/zcsb/shenBaoRenYuanGuanLi/undisable', params)
}
// 申报人管理
// 获取申报人信息管理列表
export const getDeclarantList = (params) => {
  return req.get('/zcsb/shenBaoRenYuanGuanLi/find', params)
}
// 评审管理
// 评审活动管理
// 获取申报活动列表
export const getReviewActivityList = (params) => {
  return req.get('/zcsb/pingShenHuoDongGuanLi/pingshenList', params)
}
// 切换申报
export const changeShenbaoStatus = (params) => {
  return req.get('/zcsb/pingShenHuoDongGuanLi/changeShenbaoStatus', params)
}
// 切换审核
export const changeShenheStatus = (params) => {
  return req.get('/zcsb/pingShenHuoDongGuanLi/changeShenheStatus', params)
}
// 切换评审
export const changePingshenStatus = (params) => {
  return req.get('/zcsb/pingShenHuoDongGuanLi/changeStatus', params)
}
// 修改活动页面展示
export const editShow = (params) => {
  return req.get('/zcsb/pingShenHuoDongGuanLi/findById', params)
}
// 添加修改页面
export const addEditActive = (params) => {
  return req.post('/zcsb/pingShenHuoDongGuanLi/save', params)
}
// 删除活动
export const delActive = (params) => {
  return req.get('/zcsb/pingShenHuoDongGuanLi/del', params)
}
// 申报资格管理
// 获取资格管理列表
export const getQualificationList = (params) => {
  return req.get('/zcsb/shenBaoZiGeGuanLi/list', params)
}
// 获取资格管理列表
export const getShenbaoDownWindow = () => req.get('/zcsb/shenBaoZiGeGuanLi/shenbaoDownWindow')
// 资格删除
export const delQualification = (params) => {
  return req.get('/zcsb/shenBaoZiGeGuanLi/del', params)
}
// 资格状态启用
export const qualificationActive = (params) => {
  return req.get('/zcsb/shenBaoZiGeGuanLi/active', params)
}
// 资格状态禁用
export const qualificationDisable = (params) => {
  return req.get('/zcsb/shenBaoZiGeGuanLi/disable', params)
}
// 添加、修改资格
export const addEditqualification = (params) => {
  return req.post('/zcsb/shenBaoZiGeGuanLi/save', params)
}
// 修改资格页面展示
export const editQualificationShow = (params) => {
  return req.get('/zcsb/shenBaoZiGeGuanLi/findById', params)
}
